package com.atguigu.interview.study.circulardepend.setinjection;

import org.springframework.stereotype.Component;

/**
 * @author gcq
 * @Create 2020-12-09
 */
@Component
public class ServiceAA {
    private ServiceBB serviceBB;

    public void setServiceBB(ServiceBB serviceBB) {
        this.serviceBB = serviceBB;
        System.out.println("A 里面设置了B");
    }
}